<template>
    <div>
        <el-table border style="width: 100%" :data="proList"  @selection-change="handleSelect">
            <el-table-column type="index" label="序号" width="83">
            </el-table-column>
            <el-table-column type="selection" width="355">
            </el-table-column>
            <el-table-column prop="productCode" label="产品" width="483">
            </el-table-column>
            <el-table-column prop="productCodeDesc" label="简介" width="878">
            </el-table-column>
        </el-table>
        <el-button type="primary" @click="finish" v-preventReClick>完成</el-button>
    </div>
</template>

<script>
export default {
    data () {
        return {
            proList: []
        }
    },
    methods: {
        async getProList () {
            await this.$http.post('merProduct/getProductTypeList').then(res => {
                this.proList = res.data.data
            })
        },
        handleSelect () {},
        finish () {}
    },
    mounted () {
        this.getProList()
    }
}
</script>

<style lang="less" scoped>
@import './opePro.less';
</style>
